package classes;

import interfaces.IAfficheur;
import interfaces.ICanal;
import interfaces.IRunnable;

public class RunnableImpl implements IRunnable{

	private IAfficheur afficheur;
	private ICanal canal;
	
	public RunnableImpl(IAfficheur a, ICanal c){
		afficheur = a ;
		canal = c;
	}
	
	@Override
	public void run() {
		afficheur.update(canal);
		
	}

	
}
